* {
  padding: 0;
  margin: 0;
  font-size: 20px;
}
.cartbox {
  width: 100%;
  height: 100%;
  .header_box {
    width: 100%;
    height: 2.5rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
  }
  .list_box {
    width: 100%;
    min-height: 27.6rem;
    overflow-y: scroll;
    overflow-x: hidden;
    position: absolute;
    top: 2.5rem;
    bottom: 3.2rem;
    left: 0;
    right: 0;
    background: #f5f5f5;
    .goods {
      padding: 0.5rem;
      margin-bottom: 0.5rem;
      background: #fff;
      display: flex;
      justify-content: space-between;
      .iconfont {
        font-size: 1.5rem;
        color: red;
        margin-right: 0.5rem;
        align-self: center;
      }
      img {
        width: 4.8rem;
        height: 4.8rem;
        margin-right: 0.5rem;
      }
      .titlebox {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0.5rem;
        box-sizing: border-box;
        .title {
          font-size: 1rem;
          line-height: 1.4rem;
        }

        .col {
          font-size: 0.65rem;
          line-height: 1rem;
          color: #737373;
        }

        .pricebox {
          width: 100%;
          font-size: 1rem;
          font-weight: 400;
          color: #ed394a;
          line-height: 1.4rem;
          display: flex;
          justify-content: space-between;
          .num {
            line-height: 1.5rem;
            margin-left: -4.8rem;
            font-size: 1rem;
            line-height: 1.4rem;
            font-weight: 400;
            .iconfont {
              font-size: 1rem;
              margin: 0.25rem;
              color: #d0d0d0;
            }

            .goods_num {
              font-size: 1rem;
              font-weight: 400;
              margin: 0.25rem;
              line-height: 1rem;
              color: #1a1a1a;
              text-align: center;
            }
          }
        }
      }
    }

    .footerbox {
      width: 100%;
      height: 3rem;
      padding: 0.25rem 0.6rem;
      box-sizing: border-box;
      display: flex;
      position: fixed;
      bottom: 3.2rem;
      left: 0;
      right: 0;
      margin-bottom: 0.25rem;
      background-color: #fff;
      .iconfont {
        font-size: 1.5rem;
        color: red;
        margin-right: 0.5rem;
        margin-top: 0.6rem;
        align-self: center;
      }
      .allpirbox {
        width: 100%;
        height: 3rem;
        display: flex;
        justify-content: space-between;
        .f_left {
          align-self: center;
          font-size: 0.875rem;
          color: #ee394a;
          .addprice {
            color: #ee394a;
          }
        }
        .f_right {
          align-self: center;
          font-size: 0.875rem;
          .btn {
            outline: none;
            border: none;
            color: #fff;
            padding: 0.4rem;
            border-radius: 5px;
            font-size: 0.75rem;
            background-color: #ee394a;
          }
        }
      }
    }
  }
  .footer_box {
    width: 100%;
    height: 3.2rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #e6e6e6;
    background: #fff;
    color: #ee394a;
  }
}
